package traits.elements

import domain.Pokemon

abstract trait TElement extends Pokemon{

	def doFinalDamage(dmg :Int,  target :Pokemon){

		target.damage(weaknessFactor(target) * (dmg + this.attackPower))
	}
	
	def weaknessFactor(target :Pokemon) :Double 
}